<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>景区管理</title>
<!--导入各种支持  -->
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/themes/icon.css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/jquery.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
	var url;
	/* 启动自动查询所有景区信息 */
	function searchEmployee() {
		$("#dg").datagrid('load', {
			"name" : $("#s_name").val()
		});
	}
	
	function company(val, row) {
		if (val != null) {
			return row.company.name;
		} else {
			return null;
		}
	}
	
</script>
</head>
<body style="margin: 1px">
	<table id="dg" title="景区管理" class="easyui-datagrid" fitColumns="true"
		pagination="true" rownumbers="true"
		url="${pageContext.request.contextPath}/science/list.do" fit="true"
		>
		<thead>
			<tr>
				<th field="cb" checkbox="true" align="center"></th>		
				<th field="name" width="30" align="center">景区名称</th>
				<th field="point" width="30" align="center">景区坐标</th>
				<th field="address" width="30" align="center">景区地址</th>
				<th field="company" width="30" align="center" formatter="company">所属公司</th>
				<th field="detail" width="90" align="center">概述</th>
			
			
			</tr>
		</thead>
	</table>
	



</body>
</html>